package com.css.fxfzaqbz.modules.data.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzaqbz.modules.data.entity.ActiveFaultData;
import com.css.fxfzaqbz.modules.data.entity.HistoricalSeismicData;
import com.css.fxfzaqbz.modules.data.queryParams.ActiveFaultDataQueryParams;
import com.css.fxfzaqbz.modules.data.queryParams.HistoricalSeismicDataQueryParams;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;

public interface HistoricalSeismicDataService {
   // HistoricalSeismicData updateHistoricalSeismicData(HistoricalSeismicData activeFaultData);
    HistoricalSeismicData  saveHistoricalSeismicData(HistoricalSeismicData activeFaultData);
    JSONObject getAllHistoricalSeismicData(HistoricalSeismicDataQueryParams queryParams);
    HistoricalSeismicData getHistoricalSeismicDataById(String id);
    void deleteHistoricalSeismicDatas(List<String> ids);
    //下载表中内容
    List<HistoricalSeismicData>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException, ParseException;
}
